set WORKSPACE=..

set LUBAN_DLL=%WORKSPACE%\Tools\Luban\Luban.dll
set GEN_CLIENT=%LUBAN_DLL%
set CONF_ROOT=.
set CONF_CODE_DIR=%CONF_ROOT%\..\Assets\Generated\
set CONF_DATA_DIR=%CONF_ROOT%\..\Assets\DataTables\

dotnet %GEN_CLIENT% ^
    -t client ^
    -c cs-simple-json ^
    -d json ^
    --conf %CONF_ROOT%\luban.conf ^
    -x outputCodeDir=%CONF_CODE_DIR% ^
    -x outputDataDir=%CONF_DATA_DIR%

pause